package kk.learn.rabbitmq.dlxdemo.service;

import kk.learn.rabbitmq.dlxdemo.model.Order;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author KK
 * @since 2021-10-30
 */
public interface IOrderService {

    Long order(
            Long userId, String product
    );

    String pay(
            Long userId, Long orderId
    );

    List<Order> orders(
            Long userId
    );

    void checkOrderStatus(Long orderId);




}
